import {createApp} from 'vue'
import App from './App.vue'
import elementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
// import router from "./router";
import locale from 'element-plus/lib/locale/lang/zh-cn'



const app = createApp(App)
app.use(elementPlus,{locale})



if ('__VUE_DEVTOOLS_GLOBAL_HOOK__' in window) {
    window.__VUE_DEVTOOLS_GLOBAL_HOOK__.Vue = app
}
app.config.devtools = true


window.myData = App
const vm=app.mount('#app')



